package com.qq.weixin.model.msg;

import java.util.Collection;
import java.util.concurrent.ArrayBlockingQueue;

import com.qq.weixin.enums.MsgType;

public class ReplyNewsMsg extends BaseReplyMsg {
  private final MsgType msgType = MsgType.news;

  private final Collection<Article> articles = new ArrayBlockingQueue<Article>(10);

  public Collection<Article> getArticles() {
    return articles;
  }

  public MsgType getMsgType() {
    return msgType;
  }

  public static class Article {
    private String title;
    private String description;
    private String picUrl;
    private String url;
    public String getTitle() {
      return title;
    }
    public void setTitle(String title) {
      this.title = title;
    }
    public String getDescription() {
      return description;
    }
    public void setDescription(String description) {
      this.description = description;
    }
    public String getPicUrl() {
      return picUrl;
    }
    public void setPicUrl(String picUrl) {
      this.picUrl = picUrl;
    }
    public String getUrl() {
      return url;
    }
    public void setUrl(String url) {
      this.url = url;
    }

  }

}
